package com.careersersystem.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Student entity. @author MyEclipse Persistence Tools
 */

public class Student implements java.io.Serializable {

	// Fields

	private Integer stuId;
	private Users users;
	private Integer stuNum;
	private String fname;
	private String lname;
	private Short age;
	private String startyear;
	private String email;
	private String phone;
	private Integer cvId;
	private Set employerstus = new HashSet(0);
	private Set stuCvs = new HashSet(0);
	private Set studentemps = new HashSet(0);
	private Set staffstus = new HashSet(0);

	// Constructors

	/** default constructor */
	public Student() {
	}

	/** minimal constructor */
	public Student(Users users, Integer stuNum, String fname, String lname,
			Short age, String email, String phone) {
		this.users = users;
		this.stuNum = stuNum;
		this.fname = fname;
		this.lname = lname;
		this.age = age;
		this.email = email;
		this.phone = phone;
	}

	/** full constructor */
	public Student(Users users, Integer stuNum, String fname, String lname,
			Short age, String startyear, String email, String phone,
			Integer cvId, Set employerstus, Set stuCvs, Set studentemps,
			Set staffstus) {
		this.users = users;
		this.stuNum = stuNum;
		this.fname = fname;
		this.lname = lname;
		this.age = age;
		this.startyear = startyear;
		this.email = email;
		this.phone = phone;
		this.cvId = cvId;
		this.employerstus = employerstus;
		this.stuCvs = stuCvs;
		this.studentemps = studentemps;
		this.staffstus = staffstus;
	}

	// Property accessors

	public Integer getStuId() {
		return this.stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public Integer getStuNum() {
		return this.stuNum;
	}

	public void setStuNum(Integer stuNum) {
		this.stuNum = stuNum;
	}

	public String getFname() {
		return this.fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public String getLname() {
		return this.lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	public Short getAge() {
		return this.age;
	}

	public void setAge(Short age) {
		this.age = age;
	}

	public String getStartyear() {
		return this.startyear;
	}

	public void setStartyear(String startyear) {
		this.startyear = startyear;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getCvId() {
		return this.cvId;
	}

	public void setCvId(Integer cvId) {
		this.cvId = cvId;
	}

	public Set getEmployerstus() {
		return this.employerstus;
	}

	public void setEmployerstus(Set employerstus) {
		this.employerstus = employerstus;
	}

	public Set getStuCvs() {
		return this.stuCvs;
	}

	public void setStuCvs(Set stuCvs) {
		this.stuCvs = stuCvs;
	}

	public Set getStudentemps() {
		return this.studentemps;
	}

	public void setStudentemps(Set studentemps) {
		this.studentemps = studentemps;
	}

	public Set getStaffstus() {
		return this.staffstus;
	}

	public void setStaffstus(Set staffstus) {
		this.staffstus = staffstus;
	}

}